﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
    /// eazy_xzcf_resolved:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class xzcf_resolved
    {
        public xzcf_resolved()
        { }
        #region Model
        private int _id;
        private int _instance_id = 0;
        private string _code;
        private string _number;
        private string _title;
        private string _zhuzhi;
        private string _daibiaoren;
        private string _telephone;
        private string _content;
        private string _cause;
        private string _give;
        private string _payee;
        private string _address;
        private string _account;
        private string _department;
        private string _court;
        private DateTime? _time;
        private DateTime _add_time = DateTime.Now;
        private int _way = 0;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 实例ID
        /// </summary>
        public int instance_id
        {
            set { _instance_id = value; }
            get { return _instance_id; }
        }
        /// <summary>
        /// 决定书编码
        /// </summary>
        public string code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 告知书号
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 被处罚人
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 住址
        /// </summary>
        public string zhuzhi
        {
            set { _zhuzhi = value; }
            get { return _zhuzhi; }
        }
        /// <summary>
        /// 代表人
        /// </summary>
        public string daibiaoren
        {
            set { _daibiaoren = value; }
            get { return _daibiaoren; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string telephone
        {
            set { _telephone = value; }
            get { return _telephone; }
        }
        /// <summary>
        /// 违法事实及证据
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 规定依据
        /// </summary>
        public string cause
        {
            set { _cause = value; }
            get { return _cause; }
        }
        /// <summary>
        /// 行政处罚事项
        /// </summary>
        public string give
        {
            set { _give = value; }
            get { return _give; }
        }
        /// <summary>
        /// 收款方
        /// </summary>
        public string payee
        {
            set { _payee = value; }
            get { return _payee; }
        }
        /// <summary>
        /// 地址
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 账号
        /// </summary>
        public string account
        {
            set { _account = value; }
            get { return _account; }
        }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string department
        {
            set { _department = value; }
            get { return _department; }
        }
        /// <summary>
        /// 法院名称
        /// </summary>
        public string court
        {
            set { _court = value; }
            get { return _court; }
        }
        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime? time
        {
            set { _time = value; }
            get { return _time; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        /// <summary>
        /// 处理方式
        /// </summary>
        public int way
        {
            set { _way = value; }
            get { return _way; }
        }

        private List<case_attach> _attach;
        public List<case_attach> attach
        {
            set { _attach = value; }
            get { return _attach; }
        }
        #endregion Model

    }
}
